export default function Login(props) {
  const { navigate } = props;

  const routerBack = () => {
    navigate(-1);
  };

  return (
    <div className="login">
      <h1>Login 页面</h1>

      <span onClick={routerBack}>返回</span>
    </div>
  );
}
